package com.frejoys.common.dto.store;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/5/15 10:52
 */
@Data
public class ChangeSortDto {
    // 品类id
    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "id", description = "品类id")
    private Integer id;

    // 排序
    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "sort", description = "排序")
    private Integer sort;
}
